//
//  UserCenterCell.m
//  HappyBaby
//
//  Created by 华哥 on 15/12/1.
//  Copyright © 2015年 华哥. All rights reserved.
//

#import "UserCenterCell.h"
#import "Define.h"

@implementation UserCenterCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self)
    {
        self.label = [[UILabel alloc]initWithFrame:CGRectMake(30, 0, 50, 40)];
        [self.contentView addSubview:_label];
        
        self.textField = [[UITextField alloc]initWithFrame:CGRectMake(90, 0, 150, 40)];
        [self.contentView addSubview:_textField];
        
        UIView *view = [[UIView alloc]initWithFrame:CGRectMake(self.textField.x, self.textField.height, self.textField.width, 1)];
        view.backgroundColor = [UIColor grayColor];
        [self.contentView addSubview:view];
    }
    return self;
}


































@end
